<template>
  <n-el tag="div" class="box-main">
    <!-- 四个角的边框效果 -->
    <n-el tag="div" class="border_corner border_corner_left_top"></n-el>
    <n-el tag="div" class="border_corner border_corner_right_top"></n-el>
    <n-el tag="div" class="border_corner border_corner_left_bottom"></n-el>
    <n-el tag="div" class="border_corner border_corner_right_bottom"></n-el>
    <n-el tag="div" class="content">
      <slot>
      </slot>
    </n-el>
  </n-el>

</template>

<script lang="ts" name="HzBox9">
</script>

<style scoped>

.box-main{
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, .04) url('/@assets/hz-box/9/line.png');
.content{
  width: 100%;
  height: 100%;
  border: 2px solid #1C93CB;
  border-radius: 4px;
}
.border_corner{
  z-index: 2500;
  position: absolute;
  width: 39px;
  height: 39px;
  background: rgba(0,0,0,0);
  border: 6px solid #58C7EE;
}
.border_corner_left_top{
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 4px;
}
.border_corner_right_top{
  top: -2px;
  right: -6px;
  border-left: none;
  border-bottom: none;
  border-top-right-radius: 4px;
}
.border_corner_left_bottom{
  bottom: -1px;
  left: -2px;
  border-right: none;
  border-top: none;
  border-bottom-left-radius: 4px;
}
.border_corner_right_bottom{
  bottom: -2px;
  right: -6px;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 4px;
}
}

</style>